package org.cfx.gift.service.impl;

import org.cfx.gift.domain.UserInfo;
import org.cfx.gift.mapper.UserInfoMapper;
import org.cfx.gift.service.IUserInfoService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.xml.ws.Action;

/**
 * <p>
 * 会员基本信息 服务实现类
 * </p>
 *
 * @author cfx
 * @since 2023-10-31
 */
@Service
public class UserInfoServiceImpl extends ServiceImpl<UserInfoMapper, UserInfo> implements IUserInfoService {

    @Autowired
    private UserInfoMapper userInfoMapper;
    @Override
    public UserInfo selectByUserId(Long id) {
        return userInfoMapper.selectByUserId(id);
    }
}
